import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import 'vant/lib/index.css';
import { Card ,Tab, Tabs,Swipe, SwipeItem ,Lazyload,Badge,Sidebar, SidebarItem  ,Collapse, CollapseItem} from 'vant';
createApp(App)
    .use(Swipe)
    .use(SwipeItem)
    .use(Badge)
    .use(Sidebar)
    .use(SidebarItem)
    .use(Collapse)
    .use(CollapseItem)
    .use(Tab)
    .use(Tabs)
    .use(Card)
    .use(Lazyload,{
        loading:require('./assets/images/default.png')
    })
    .use(store).use(router).mount('#app')
